package com.lee.system.mapper;

import java.util.List;
import java.util.Map;

import com.lee.base.mapper.BaseMapper;
import com.lee.system.model.ResourcesInfo;

public interface ResourcesInfoMapper extends BaseMapper<ResourcesInfo> {
	List<ResourcesInfo> findRes(Map<String,Object> map);

	List<ResourcesInfo> findByPage(Map<String, Object> map);
	
	List<ResourcesInfo> findAll(Map<String, Object> map);
	/**
	 * 
	 * deleteAttr:删除lee_res_user表中与资源ID相关的数据. <br/>
	 * @author dell
	 * @param id
	 * @return
	 * @since JDK 1.7
	 */
	int deleteAttr(int id);
}